package loan.calc.datasource.xa;


import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.lang.annotation.*;

/**
 * @author v_ECD963
 */
@Target({ElementType.TYPE, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
public @interface XATransactional {
// https://blog.csdn.net/u013407099/article/details/125074995?spm=1001.2014.3001.5502
}
